package algorithm.thread_demo;

public class MyRunable implements Runnable{
    public static void main(String[] args) {
        Runnable runnable = new MyRunable();
        Thread thread = new Thread(runnable);
        thread.start();
        System.out.println("over!");
    }

    @Override
    public void run() {
        System.out.println("task");
    }
}
